\hypertarget{classPointerVector}{}\section{Pointer\+Vector$<$ T $>$ Class Template Reference}
\label{classPointerVector}\index{Pointer\+Vector$<$ T $>$@{Pointer\+Vector$<$ T $>$}}


{\ttfamily \#include $<$pointervec.\+h$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef void \hyperlink{classPointerVector_a578da527d71168684229a721b16e823f}{apply\+\_\+fn}(T $\ast$elem)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classPointerVector_a44ef76bb36f22d17606d8af8ef12d499}{Pointer\+Vector} ()
\item 
\hyperlink{classPointerVector_ac1c5b843d7862e9db7189d459324e246}{Pointer\+Vector} (bool owned)
\item 
\hyperlink{classPointerVector_a5fd5c0d94cdb693be9a8bb5c2b3e305c}{$\sim$\+Pointer\+Vector} ()
\item 
void \hyperlink{classPointerVector_a9f708acfaa3ce26d14b02d8e285c8729}{clear} ()
\item 
size\+\_\+t \hyperlink{classPointerVector_a65263559ccd6a9eac2904c691453867b}{size} () const 
\item 
T $\ast$ \hyperlink{classPointerVector_af28c2517157ddacfb4d92a4fc73c5a92}{get} (size\+\_\+t index)
\item 
const T $\ast$ \hyperlink{classPointerVector_a298c14996c9995cc56efc2deadd01fe5}{get} (size\+\_\+t index) const 
\item 
void \hyperlink{classPointerVector_abaee9f77dee6ea2523dff64b184c9f54}{add} (T $\ast$elem)
\item 
bool \hyperlink{classPointerVector_acb88f3cb0aa36baaebabc0900bb304e6}{del} (T $\ast$elem)
\item 
void \hyperlink{classPointerVector_a5e9ccf28859f06f13ad3e2dad9ae1cb6}{apply} (\hyperlink{classPointerVector_a578da527d71168684229a721b16e823f}{apply\+\_\+fn} $\ast$fn)
\item 
std\+::vector$<$ T $\ast$ $>$\+::iterator \hyperlink{classPointerVector_a594866129f2e9a3701c1f414ca3299e3}{begin} ()
\item 
std\+::vector$<$ T $\ast$ $>$\+::iterator \hyperlink{classPointerVector_a6182f5429c4c98ba2556d40484aab2f9}{end} ()
\item 
std\+::vector$<$ T $\ast$ $>$\+::const\+\_\+iterator \hyperlink{classPointerVector_a97ee9f133fa9e61341f33feb3f36f45b}{begin} () const 
\item 
std\+::vector$<$ T $\ast$ $>$\+::const\+\_\+iterator \hyperlink{classPointerVector_a62f1573b2bdffb20efaad8fbff6d7676}{end} () const 
\item 
void \hyperlink{classPointerVector_a1107df98d34db68e3153e67196a16a11}{erase} (typename std\+::vector$<$ T $\ast$ $>$\+::iterator i)
\item 
void \hyperlink{classPointerVector_a0a7659a1819768998582533c65825501}{insert} (typename std\+::vector$<$ T $\ast$ $>$\+::iterator position, typename std\+::vector$<$ T $\ast$ $>$\+::iterator first, typename std\+::vector$<$ T $\ast$ $>$\+::iterator last)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$\\*
class Pointer\+Vector$<$ T $>$}



Definition at line 37 of file pointervec.\+h.



\subsection{Member Typedef Documentation}
\index{Pointer\+Vector@{Pointer\+Vector}!apply\+\_\+fn@{apply\+\_\+fn}}
\index{apply\+\_\+fn@{apply\+\_\+fn}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{apply\+\_\+fn}{apply_fn}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ typedef void {\bf Pointer\+Vector}$<$ T $>$\+::apply\+\_\+fn(T $\ast$elem)}\hypertarget{classPointerVector_a578da527d71168684229a721b16e823f}{}\label{classPointerVector_a578da527d71168684229a721b16e823f}


Definition at line 41 of file pointervec.\+h.



\subsection{Constructor \& Destructor Documentation}
\index{Pointer\+Vector@{Pointer\+Vector}!Pointer\+Vector@{Pointer\+Vector}}
\index{Pointer\+Vector@{Pointer\+Vector}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{Pointer\+Vector()}{PointerVector()}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf Pointer\+Vector}$<$ T $>$\+::{\bf Pointer\+Vector} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a44ef76bb36f22d17606d8af8ef12d499}{}\label{classPointerVector_a44ef76bb36f22d17606d8af8ef12d499}


Definition at line 43 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!Pointer\+Vector@{Pointer\+Vector}}
\index{Pointer\+Vector@{Pointer\+Vector}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{Pointer\+Vector(bool owned)}{PointerVector(bool owned)}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf Pointer\+Vector}$<$ T $>$\+::{\bf Pointer\+Vector} (
\begin{DoxyParamCaption}
\item[{bool}]{owned}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_ac1c5b843d7862e9db7189d459324e246}{}\label{classPointerVector_ac1c5b843d7862e9db7189d459324e246}


Definition at line 47 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!````~Pointer\+Vector@{$\sim$\+Pointer\+Vector}}
\index{````~Pointer\+Vector@{$\sim$\+Pointer\+Vector}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{$\sim$\+Pointer\+Vector()}{~PointerVector()}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf Pointer\+Vector}$<$ T $>$\+::$\sim${\bf Pointer\+Vector} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a5fd5c0d94cdb693be9a8bb5c2b3e305c}{}\label{classPointerVector_a5fd5c0d94cdb693be9a8bb5c2b3e305c}


Definition at line 51 of file pointervec.\+h.



\subsection{Member Function Documentation}
\index{Pointer\+Vector@{Pointer\+Vector}!add@{add}}
\index{add@{add}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{add(\+T $\ast$elem)}{add(T *elem)}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ void {\bf Pointer\+Vector}$<$ T $>$\+::add (
\begin{DoxyParamCaption}
\item[{T $\ast$}]{elem}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_abaee9f77dee6ea2523dff64b184c9f54}{}\label{classPointerVector_abaee9f77dee6ea2523dff64b184c9f54}


Definition at line 72 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!apply@{apply}}
\index{apply@{apply}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{apply(apply\+\_\+fn $\ast$fn)}{apply(apply_fn *fn)}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ void {\bf Pointer\+Vector}$<$ T $>$\+::apply (
\begin{DoxyParamCaption}
\item[{{\bf apply\+\_\+fn} $\ast$}]{fn}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a5e9ccf28859f06f13ad3e2dad9ae1cb6}{}\label{classPointerVector_a5e9ccf28859f06f13ad3e2dad9ae1cb6}


Definition at line 80 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!begin@{begin}}
\index{begin@{begin}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{begin()}{begin()}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ std\+::vector$<$T$\ast$$>$\+::iterator {\bf Pointer\+Vector}$<$ T $>$\+::begin (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a594866129f2e9a3701c1f414ca3299e3}{}\label{classPointerVector_a594866129f2e9a3701c1f414ca3299e3}


Definition at line 83 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!begin@{begin}}
\index{begin@{begin}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{begin() const }{begin() const }}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ std\+::vector$<$T$\ast$$>$\+::const\+\_\+iterator {\bf Pointer\+Vector}$<$ T $>$\+::begin (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a97ee9f133fa9e61341f33feb3f36f45b}{}\label{classPointerVector_a97ee9f133fa9e61341f33feb3f36f45b}


Definition at line 89 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!clear@{clear}}
\index{clear@{clear}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{clear()}{clear()}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ void {\bf Pointer\+Vector}$<$ T $>$\+::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a9f708acfaa3ce26d14b02d8e285c8729}{}\label{classPointerVector_a9f708acfaa3ce26d14b02d8e285c8729}


Definition at line 54 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!del@{del}}
\index{del@{del}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{del(\+T $\ast$elem)}{del(T *elem)}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ bool {\bf Pointer\+Vector}$<$ T $>$\+::del (
\begin{DoxyParamCaption}
\item[{T $\ast$}]{elem}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_acb88f3cb0aa36baaebabc0900bb304e6}{}\label{classPointerVector_acb88f3cb0aa36baaebabc0900bb304e6}


Definition at line 74 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!end@{end}}
\index{end@{end}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{end()}{end()}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ std\+::vector$<$T$\ast$$>$\+::iterator {\bf Pointer\+Vector}$<$ T $>$\+::end (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a6182f5429c4c98ba2556d40484aab2f9}{}\label{classPointerVector_a6182f5429c4c98ba2556d40484aab2f9}


Definition at line 86 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!end@{end}}
\index{end@{end}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{end() const }{end() const }}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ std\+::vector$<$T$\ast$$>$\+::const\+\_\+iterator {\bf Pointer\+Vector}$<$ T $>$\+::end (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a62f1573b2bdffb20efaad8fbff6d7676}{}\label{classPointerVector_a62f1573b2bdffb20efaad8fbff6d7676}


Definition at line 92 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!erase@{erase}}
\index{erase@{erase}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{erase(typename std\+::vector$<$ T $\ast$ $>$\+::iterator i)}{erase(typename std::vector< T * >::iterator i)}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ void {\bf Pointer\+Vector}$<$ T $>$\+::erase (
\begin{DoxyParamCaption}
\item[{typename std\+::vector$<$ T $\ast$ $>$\+::iterator}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a1107df98d34db68e3153e67196a16a11}{}\label{classPointerVector_a1107df98d34db68e3153e67196a16a11}


Definition at line 95 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!get@{get}}
\index{get@{get}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{get(size\+\_\+t index)}{get(size_t index)}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ T$\ast$ {\bf Pointer\+Vector}$<$ T $>$\+::get (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_af28c2517157ddacfb4d92a4fc73c5a92}{}\label{classPointerVector_af28c2517157ddacfb4d92a4fc73c5a92}


Definition at line 66 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!get@{get}}
\index{get@{get}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{get(size\+\_\+t index) const }{get(size_t index) const }}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ const T$\ast$ {\bf Pointer\+Vector}$<$ T $>$\+::get (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a298c14996c9995cc56efc2deadd01fe5}{}\label{classPointerVector_a298c14996c9995cc56efc2deadd01fe5}


Definition at line 69 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!insert@{insert}}
\index{insert@{insert}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{insert(typename std\+::vector$<$ T $\ast$ $>$\+::iterator position, typename std\+::vector$<$ T $\ast$ $>$\+::iterator first, typename std\+::vector$<$ T $\ast$ $>$\+::iterator last)}{insert(typename std::vector< T * >::iterator position, typename std::vector< T * >::iterator first, typename std::vector< T * >::iterator last)}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ void {\bf Pointer\+Vector}$<$ T $>$\+::insert (
\begin{DoxyParamCaption}
\item[{typename std\+::vector$<$ T $\ast$ $>$\+::iterator}]{position, }
\item[{typename std\+::vector$<$ T $\ast$ $>$\+::iterator}]{first, }
\item[{typename std\+::vector$<$ T $\ast$ $>$\+::iterator}]{last}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a0a7659a1819768998582533c65825501}{}\label{classPointerVector_a0a7659a1819768998582533c65825501}


Definition at line 98 of file pointervec.\+h.

\index{Pointer\+Vector@{Pointer\+Vector}!size@{size}}
\index{size@{size}!Pointer\+Vector@{Pointer\+Vector}}
\subsubsection[{\texorpdfstring{size() const }{size() const }}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ size\+\_\+t {\bf Pointer\+Vector}$<$ T $>$\+::size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classPointerVector_a65263559ccd6a9eac2904c691453867b}{}\label{classPointerVector_a65263559ccd6a9eac2904c691453867b}


Definition at line 63 of file pointervec.\+h.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Ship\+C\+A\+Dlib/\hyperlink{pointervec_8h}{pointervec.\+h}\end{DoxyCompactItemize}
